﻿using System;
using Citi.ResourceConsolidation.SchedulerUI;
using Citi.RoutineBase;
using System.Collections.Generic;

namespace Citi.ResourceConsolidation.ConsoleUI
{
    public class Program
    {
        static void Main(string[] args)
        {

            var schedulerParameters = new Dictionary<string, object>
            {
                {"RobotUsername", @"lac\lac_bra_ftools"},
                {"RobotPassword", "Ferrari3k10"},
                {"UserNotFoundEmails", "FC16291"}
            };
            ICurrentAction currentAction = new CurrentAction();

            ////GDW Processes
            new SchedulerUI.GDW.GDWUpdateDatabase().Start(DateTime.Today, ref currentAction, schedulerParameters);
            //new SchedulerUI.Matrix.MatrixExtract().Start(DateTime.Today, ref currentAction, schedulerParameters);
            //new SchedulerUI.GDW.GDWReport().Start(DateTime.Today, ref currentAction, schedulerParameters);
            ////Matrix Processes
            //new SchedulerUI.Matrix.MatrixExtract().Start(DateTime.Today, ref currentAction, schedulerParameters);
            ////NEMS Processes
            //new SchedulerUI.NEMS.NEMSUpdateDatabase().Start(DateTime.Today, ref currentAction, schedulerParameters);
            ////xRH Processes
            //new SchedulerUI.RH.RHExtractEmail().Start(DateTime.Today, ref currentAction, schedulerParameters);
        }

    }

    class CurrentAction : ICurrentAction
    {
        public string Description
        {
            set { Console.WriteLine(value); }
        }

        public void StartLog(string message)
        {

        }

        public void StartLogOnFile(string filePath)
        {

        }

        public void StopLog()
        {

        }

        public void StopLogOnFile()
        {

        }
    }

}
